package com.letoy.edu.dao;

import com.letoy.edu.entity.ScoreInfo;
import com.letoy.edu.vo.Score;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ScoreInfoMapper {
    int insertScoreInfo(ScoreInfo scoreInfo);

    int deleteScoreInfo(int scoreId);

    int updateScoreInfo(ScoreInfo scoreInfo);

    Score getScoreInfoByScoreId(int scoreId);

    List<ScoreInfo> getAllScoreInfo();
}
